﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PmuRegistry.Data.Entities
{
	public class Device
	{
		public int ID { get; set; }
		public string Acronym { get; set; }
		public string Name { get; set; }
		public string SubstationAcronym { get; set; }
		public string SubstationName { get; set; }
		public decimal? Longitude { get; set; }
		public decimal? Latitude { get; set; }
		public string TimeZone { get; set; }
		public int InterconnectionID { get; set; }
		public int CompanyID { get; set; }
		public int? VendorDeviceID { get; set; }
		public int? ProtocolID { get; set; }
		public int MeasuredLines { get; set; }
		public bool IsConcentrator { get; set; }
		public int? ParentID { get; set; }
		public int StatusID { get; set; }
		public DateTime StatusDate { get; set; }
		public int? TechnicalContactID { get; set; }
		public DateTime? InServiceDate { get; set; }
        public int? FundingSourceID { get; set; }
		public DateTime CreatedOn { get; set; }
		public DateTime UpdatedOn { get; set; }		
		public string CompanyName { get; set; }
		public string CompanyAcronym { get; set; }
		public string CompanyMapAcronym { get; set; }
		public string VendorDeviceName { get; set; }
		public string VendorAcronym { get; set; }
		public string ProtocolName { get; set; }
		public string InterconnectionName { get; set; }		
		public string ParentAcronym { get; set; }
		public string DeviceStatusName { get; set; }
		public string ContactFullName { get; set; }
        public string FundingSourceName { get; set; }
	}
	public enum DeviceType
	{
		Concentrator,
		NonConcentrator,
		All
	}
}
